package com.online.web.shiro.action;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 首页
 * 
 * @author tongyufu
 *
 */
@Controller
public class HomeAction {

    @RequestMapping("/iframeMenu")
    public String iframeMenu(@RequestParam final String url, Model model) {
        model.addAttribute("random", Math.random());
        return url + ".jsp";
    }

}
